package com.bpzj.db.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author bpzj
 * @since 2019-10-27
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
public class User implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId
  private Integer id;

  private String name;

  private Integer age;

  /**
   * 邮件
   */
  private String email;
}
